package taller2.view.windows.supervisor;

import taller2.interfaces.Graph;
import taller2.model.factorys.GraphFactory;
import taller2.utils.Constants;
import taller2.utils.Point;
import taller2.view.draws.GraphDrawer;
import taller2.view.menus.supervisor.GraphSupervisorMenu;
import taller2.view.menus.supervisor.TopologicDfsSupervisorMenu;

public class TopologicDfsSupervisorWindow extends SupervisorWindow{
		
	public TopologicDfsSupervisorWindow(Graph mainGraph) {
		super(mainGraph);
		
		Graph reference = GraphFactory.directedGgraphInstance();
		
		reference.add(new Point(-50, 70), "         Select the next node:");
		/*
		reference.add(new Point(-50, 120), "         When multiple correct choices are possible ");
		reference.add(new Point(-50, 150), "         the node with the lowest ");
		reference.add(new Point(-50, 180), "         number is considered correct");
		 */
		GraphDrawer referenceDrawer = new GraphDrawer(reference, Constants.selectedColor, Constants.unSelectedColor);
		referenceDrawer.resize(50, 4, 2*Constants.SampleTextSize);
		
		area.addDrawable(referenceDrawer);

	}

	protected GraphSupervisorMenu createGraphMenu(){
		return (new TopologicDfsSupervisorMenu(this.area,this.evaluationGraph, this));
	}
	
}
